package com.teamall.web.xxgl.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class AidReportChannelRelArg {
    private String pk_name = "REPORT_REF_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<AidReportChannelRelCriteria> oredCriteria;

    public AidReportChannelRelArg() {
        oredCriteria = new ArrayList<AidReportChannelRelCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<AidReportChannelRelCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(AidReportChannelRelCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public AidReportChannelRelCriteria or() {
    	AidReportChannelRelCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public AidReportChannelRelCriteria createCriteria() {
    	AidReportChannelRelCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected AidReportChannelRelCriteria createCriteriaInternal() {
    	AidReportChannelRelCriteria criteria = new AidReportChannelRelCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<AidReportChannelRelCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<AidReportChannelRelCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<AidReportChannelRelCriterion> getAllCriteria() {
            return criteria;
        }

        public List<AidReportChannelRelCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new AidReportChannelRelCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new AidReportChannelRelCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new AidReportChannelRelCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new AidReportChannelRelCriterion(condition, value1, value2));
        }

        public AidReportChannelRelCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (AidReportChannelRelCriteria) this;
        }
        public AidReportChannelRelCriteria andReportRefIdIsNull() {
            addCriterion("REPORT_REF_ID is null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdIsNotNull() {
            addCriterion("REPORT_REF_ID is not null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdEqualTo(Integer value) {
            addCriterion("REPORT_REF_ID =", value, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdNotEqualTo(Integer value) {
            addCriterion("REPORT_REF_ID <>", value, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdGreaterThan(Integer value) {
            addCriterion("REPORT_REF_ID >", value, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("REPORT_REF_ID >=", value, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdLessThan(Integer value) {
            addCriterion("REPORT_REF_ID <", value, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdLessThanOrEqualTo(Integer value) {
            addCriterion("REPORT_REF_ID <=", value, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdLike(Integer value) {
            addCriterion("REPORT_REF_ID like ", value, "REPORT_REF_ID", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdNotLike(Integer value) {
            addCriterion("REPORT_REF_ID  not like ", value, "REPORT_REF_ID", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdLeftLike(Integer value) {
            addCriterion("REPORT_REF_ID like ", value, "REPORT_REF_ID", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdNotLeftLike(Integer value) {
            addCriterion("REPORT_REF_ID  not like ", value, "REPORT_REF_ID", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdRightLike(Integer value) {
            addCriterion("REPORT_REF_ID like ", value, "REPORT_REF_ID", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdNotRightLike(Integer value) {
            addCriterion("REPORT_REF_ID  not like ", value, "REPORT_REF_ID", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdIn(List<Integer> values) {
            addCriterion("REPORT_REF_ID  in ", values, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdNotIn(List<Integer> values) {
            addCriterion("REPORT_REF_ID not in ", values, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdBetween(Integer value1, Integer value2) {
            addCriterion("REPORT_REF_ID between ", value1, value2, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportRefIdNotBetween(Integer value1, Integer value2) {
            addCriterion("REPORT_REF_ID not between ", value1, value2, "REPORT_REF_ID");
            return (AidReportChannelRelCriteria) this;
        }
        public AidReportChannelRelCriteria andReportIdIsNull() {
            addCriterion("REPORT_ID is null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdIsNotNull() {
            addCriterion("REPORT_ID is not null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdEqualTo(Integer value) {
            addCriterion("REPORT_ID =", value, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdNotEqualTo(Integer value) {
            addCriterion("REPORT_ID <>", value, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdGreaterThan(Integer value) {
            addCriterion("REPORT_ID >", value, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("REPORT_ID >=", value, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdLessThan(Integer value) {
            addCriterion("REPORT_ID <", value, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdLessThanOrEqualTo(Integer value) {
            addCriterion("REPORT_ID <=", value, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdLike(Integer value) {
            addCriterion("REPORT_ID like ", value, "REPORT_ID", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdNotLike(Integer value) {
            addCriterion("REPORT_ID  not like ", value, "REPORT_ID", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdLeftLike(Integer value) {
            addCriterion("REPORT_ID like ", value, "REPORT_ID", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdNotLeftLike(Integer value) {
            addCriterion("REPORT_ID  not like ", value, "REPORT_ID", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdRightLike(Integer value) {
            addCriterion("REPORT_ID like ", value, "REPORT_ID", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdNotRightLike(Integer value) {
            addCriterion("REPORT_ID  not like ", value, "REPORT_ID", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdIn(List<Integer> values) {
            addCriterion("REPORT_ID  in ", values, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdNotIn(List<Integer> values) {
            addCriterion("REPORT_ID not in ", values, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdBetween(Integer value1, Integer value2) {
            addCriterion("REPORT_ID between ", value1, value2, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andReportIdNotBetween(Integer value1, Integer value2) {
            addCriterion("REPORT_ID not between ", value1, value2, "REPORT_ID");
            return (AidReportChannelRelCriteria) this;
        }
        public AidReportChannelRelCriteria andChannelIdIsNull() {
            addCriterion("CHANNEL_ID is null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdIsNotNull() {
            addCriterion("CHANNEL_ID is not null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdEqualTo(Integer value) {
            addCriterion("CHANNEL_ID =", value, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdNotEqualTo(Integer value) {
            addCriterion("CHANNEL_ID <>", value, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdGreaterThan(Integer value) {
            addCriterion("CHANNEL_ID >", value, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("CHANNEL_ID >=", value, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdLessThan(Integer value) {
            addCriterion("CHANNEL_ID <", value, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdLessThanOrEqualTo(Integer value) {
            addCriterion("CHANNEL_ID <=", value, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdLike(Integer value) {
            addCriterion("CHANNEL_ID like ", value, "CHANNEL_ID", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdNotLike(Integer value) {
            addCriterion("CHANNEL_ID  not like ", value, "CHANNEL_ID", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdLeftLike(Integer value) {
            addCriterion("CHANNEL_ID like ", value, "CHANNEL_ID", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdNotLeftLike(Integer value) {
            addCriterion("CHANNEL_ID  not like ", value, "CHANNEL_ID", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdRightLike(Integer value) {
            addCriterion("CHANNEL_ID like ", value, "CHANNEL_ID", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdNotRightLike(Integer value) {
            addCriterion("CHANNEL_ID  not like ", value, "CHANNEL_ID", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdIn(List<Integer> values) {
            addCriterion("CHANNEL_ID  in ", values, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdNotIn(List<Integer> values) {
            addCriterion("CHANNEL_ID not in ", values, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdBetween(Integer value1, Integer value2) {
            addCriterion("CHANNEL_ID between ", value1, value2, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andChannelIdNotBetween(Integer value1, Integer value2) {
            addCriterion("CHANNEL_ID not between ", value1, value2, "CHANNEL_ID");
            return (AidReportChannelRelCriteria) this;
        }
        public AidReportChannelRelCriteria andRefDateIsNull() {
            addCriterion("REF_DATE is null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateIsNotNull() {
            addCriterion("REF_DATE is not null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateEqualTo(Date value) {
            addCriterion("REF_DATE =", value, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateNotEqualTo(Date value) {
            addCriterion("REF_DATE <>", value, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateGreaterThan(Date value) {
            addCriterion("REF_DATE >", value, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateGreaterThanOrEqualTo(Date value) {
            addCriterion("REF_DATE >=", value, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateLessThan(Date value) {
            addCriterion("REF_DATE <", value, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateLessThanOrEqualTo(Date value) {
            addCriterion("REF_DATE <=", value, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateLike(Date value) {
            addCriterion("REF_DATE like ", value, "REF_DATE", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateNotLike(Date value) {
            addCriterion("REF_DATE  not like ", value, "REF_DATE", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateLeftLike(Date value) {
            addCriterion("REF_DATE like ", value, "REF_DATE", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateNotLeftLike(Date value) {
            addCriterion("REF_DATE  not like ", value, "REF_DATE", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateRightLike(Date value) {
            addCriterion("REF_DATE like ", value, "REF_DATE", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateNotRightLike(Date value) {
            addCriterion("REF_DATE  not like ", value, "REF_DATE", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateIn(List<Date> values) {
            addCriterion("REF_DATE  in ", values, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateNotIn(List<Date> values) {
            addCriterion("REF_DATE not in ", values, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateBetween(Date value1, Date value2) {
            addCriterion("REF_DATE between ", value1, value2, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefDateNotBetween(Date value1, Date value2) {
            addCriterion("REF_DATE not between ", value1, value2, "REF_DATE");
            return (AidReportChannelRelCriteria) this;
        }
        public AidReportChannelRelCriteria andRefNumIsNull() {
            addCriterion("REF_NUM is null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumIsNotNull() {
            addCriterion("REF_NUM is not null");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumEqualTo(Integer value) {
            addCriterion("REF_NUM =", value, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumNotEqualTo(Integer value) {
            addCriterion("REF_NUM <>", value, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumGreaterThan(Integer value) {
            addCriterion("REF_NUM >", value, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("REF_NUM >=", value, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumLessThan(Integer value) {
            addCriterion("REF_NUM <", value, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumLessThanOrEqualTo(Integer value) {
            addCriterion("REF_NUM <=", value, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumLike(Integer value) {
            addCriterion("REF_NUM like ", value, "REF_NUM", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumNotLike(Integer value) {
            addCriterion("REF_NUM  not like ", value, "REF_NUM", 1);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumLeftLike(Integer value) {
            addCriterion("REF_NUM like ", value, "REF_NUM", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumNotLeftLike(Integer value) {
            addCriterion("REF_NUM  not like ", value, "REF_NUM", 0);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumRightLike(Integer value) {
            addCriterion("REF_NUM like ", value, "REF_NUM", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumNotRightLike(Integer value) {
            addCriterion("REF_NUM  not like ", value, "REF_NUM", 2);
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumIn(List<Integer> values) {
            addCriterion("REF_NUM  in ", values, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumNotIn(List<Integer> values) {
            addCriterion("REF_NUM not in ", values, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumBetween(Integer value1, Integer value2) {
            addCriterion("REF_NUM between ", value1, value2, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

        public AidReportChannelRelCriteria andRefNumNotBetween(Integer value1, Integer value2) {
            addCriterion("REF_NUM not between ", value1, value2, "REF_NUM");
            return (AidReportChannelRelCriteria) this;
        }

    }

    public static class AidReportChannelRelCriteria extends GeneratedCriteria {

        protected AidReportChannelRelCriteria() {
            super();
        }
    }

    public static class AidReportChannelRelCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected AidReportChannelRelCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected AidReportChannelRelCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected AidReportChannelRelCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected AidReportChannelRelCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected AidReportChannelRelCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected AidReportChannelRelCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}